package nci60.project

class Experiment {

    Integer id
    String name
    String pNumber
    ExperimentClass currentClass
    Project currentProject
    boolean excluded = false

    static mapping = {
        table 'experiments'
        currentProject column:'project_id'
        version false
        autoTimestamp false
    }

    static constraints = {
    }

    String toString() {
        return "Experiment:$name; Project:"+currentProject.name+";"
    }
}
